added SSCLI 1.0
[windows-sources.git] / shared source / sscli_ref_20021101 / docs / System.Security.Policy / System.Security.Policy.html
blob014e37e4850393708ef26151005b8f33f404250b
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
2 <head>
3 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <link rel="stylesheet" type="text/css" href="../refdoc.css">
5 <title>Namespace: System.Security.Policy</title>
6 </head>
7 <body>
8 <h2>Namespace: System.Security.Policy</h2>
9 <dl>
10 <dd>
11 <p> The <a href="../System.Security.Policy/System.Security.Policy.html">System.Security.Policy</a> namespace contains code groups, membership conditions, and evidence. These three types of classes are used to create the rules applied by the common language runtime security policy system. Evidence classes are the input to security policy and membership conditions are the switches; together these create policy statements and determine the granted permission set. Policy levels and code groups are the structure of the policy hierarchy. Code groups are the encapsulation of a rule and are arranged hierarchically in a policy level.</p>
12 </dd>
13 </dl>
14 <h3>Members of System.Security.Policy Namespace</h3><b>Classes</b><dl>
15 <dd>
16 <table border="1" width="90%" style="border-collapse: collapse">
17 <tr valign="top">
18 <th bgcolor="#C0C0C0">Class</th>
19 <th bgcolor="#C0C0C0">
20 Description
21 </th>
22 </tr>
23 <tr valign="top">
24 <td width="30%"><a href="types/AllMembershipCondition.html">class AllMembershipCondition</a></td>
25 <td width="60%"> Represents a membership condition that matches all code. This class cannot be inherited. 
26 </td>
27 </tr>
28 <tr valign="top">
29 <td width="30%"><a href="types/ApplicationDirectory.html">class ApplicationDirectory</a></td>
30 <td width="60%"> Provides the application directory as evidence for policy evaluation. This class cannot be inherited. 
31 </td>
32 </tr>
33 <tr valign="top">
34 <td width="30%"><a href="types/ApplicationDirectoryMembershipCondition.html">class ApplicationDirectoryMembershipCondition</a></td>
35 <td width="60%"> Determines whether an assembly belongs to a code group by testing its application directory. This class cannot be inherited. 
36 </td>
37 </tr>
38 <tr valign="top">
39 <td width="30%"><a href="types/CodeGroup.html">class CodeGroup</a></td>
40 <td width="60%"> Represents the abstract base class from which all implementations of code groups must derive. 
41 </td>
42 </tr>
43 <tr valign="top">
44 <td width="30%"><a href="types/Evidence.html">class Evidence</a></td>
45 <td width="60%"> Defines the set of information that constitutes input to security policy decisions. This class cannot be inherited. 
46 </td>
47 </tr>
48 <tr valign="top">
49 <td width="30%"><a href="types/FileCodeGroup.html">class FileCodeGroup</a></td>
50 <td width="60%"> Grants permission to manipulate files located in the code assemblies to code assemblies that match the membership condition. This class cannot be inherited. 
51 </td>
52 </tr>
53 <tr valign="top">
54 <td width="30%"><a href="types/FirstMatchCodeGroup.html">class FirstMatchCodeGroup</a></td>
55 <td width="60%"> Allows security policy to be defined by the union of the policy statement of a code group and that of the first child code group that matches. This class cannot be inherited. 
56 </td>
57 </tr>
58 <tr valign="top">
59 <td width="30%"><a href="types/NetCodeGroup.html">class NetCodeGroup</a></td>
60 <td width="60%"> Grants Web permission to the site from which the assembly was downloaded. This class cannot be inherited. 
61 </td>
62 </tr>
63 <tr valign="top">
64 <td width="30%"><a href="types/PermissionRequestEvidence.html">class PermissionRequestEvidence</a></td>
65 <td width="60%"> Defines evidence that represents permission requests. This class cannot be inherited. 
66 </td>
67 </tr>
68 <tr valign="top">
69 <td width="30%"><a href="types/PolicyException.html">class PolicyException</a></td>
70 <td width="60%"> The exception that is thrown when policy forbids code to run. 
71 </td>
72 </tr>
73 <tr valign="top">
74 <td width="30%"><a href="types/PolicyLevel.html">class PolicyLevel</a></td>
75 <td width="60%"> Represents the security policy levels for the common language runtime. This class cannot be inherited. 
76 </td>
77 </tr>
78 <tr valign="top">
79 <td width="30%"><a href="types/PolicyStatement.html">class PolicyStatement</a></td>
80 <td width="60%"> Represents the statement of a <a href="../System.Security.Policy/types/CodeGroup.html">CodeGroup</a> describing the permissions and other information that apply to code with a particular set of evidence. This class cannot be inherited. 
81 </td>
82 </tr>
83 <tr valign="top">
84 <td width="30%"><a href="types/Site.html">class Site</a></td>
85 <td width="60%"> Provides the Web site from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited. 
86 </td>
87 </tr>
88 <tr valign="top">
89 <td width="30%"><a href="types/SiteMembershipCondition.html">class SiteMembershipCondition</a></td>
90 <td width="60%"> Determines whether an assembly belongs to a code group by testing the site from which it originated. This class cannot be inherited. 
91 </td>
92 </tr>
93 <tr valign="top">
94 <td width="30%"><a href="types/StrongName.html">class StrongName</a></td>
95 <td width="60%"> Provides the strong name of a code assembly as evidence for policy evaluation. This class cannot be inherited. 
96 </td>
97 </tr>
98 <tr valign="top">
99 <td width="30%"><a href="types/StrongNameMembershipCondition.html">class StrongNameMembershipCondition</a></td>
100 <td width="60%"> Determines whether an assembly belongs to a code group by testing its strong name. This class cannot be inherited. 
101 </td>
102 </tr>
103 <tr valign="top">
104 <td width="30%"><a href="types/UnionCodeGroup.html">class UnionCodeGroup</a></td>
105 <td width="60%"> Represents a code group whose policy statement is the union of the current code group's policy statement and the policy statement of all its matching child code groups. This class cannot be inherited. 
106 </td>
107 </tr>
108 <tr valign="top">
109 <td width="30%"><a href="types/Url.html">class Url</a></td>
110 <td width="60%"> Provides the URL from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited. 
111 </td>
112 </tr>
113 <tr valign="top">
114 <td width="30%"><a href="types/UrlMembershipCondition.html">class UrlMembershipCondition</a></td>
115 <td width="60%"> Determines whether an assembly belongs to a code group by testing its URL. This class cannot be inherited. 
116 </td>
117 </tr>
118 <tr valign="top">
119 <td width="30%"><a href="types/Zone.html">class Zone</a></td>
120 <td width="60%"> Provides the security zone of a code assembly as evidence for policy evaluation. This class cannot be inherited. 
121 </td>
122 </tr>
123 <tr valign="top">
124 <td width="30%"><a href="types/ZoneMembershipCondition.html">class ZoneMembershipCondition</a></td>
125 <td width="60%"> Determines whether an assembly belongs to a code group by testing its zone of origin. This class cannot be inherited. 
126 </td>
127 </tr>
128 </table>
129 </dd>
130 </dl><br><b>Interfaces</b><dl>
131 <dd>
132 <table border="1" width="90%" style="border-collapse: collapse">
133 <tr valign="top">
134 <th bgcolor="#C0C0C0">Interface</th>
135 <th bgcolor="#C0C0C0">
136 Description
137 </th>
138 </tr>
139 <tr valign="top">
140 <td width="30%"><a href="types/IIdentityPermissionFactory.html">interface IIdentityPermissionFactory</a></td>
141 <td width="60%"> Defines the method that creates a new identity permission. 
142 </td>
143 </tr>
144 <tr valign="top">
145 <td width="30%"><a href="types/IMembershipCondition.html">interface IMembershipCondition</a></td>
146 <td width="60%"> Defines the test to determine whether a code assembly is a member of a code group. 
147 </td>
148 </tr>
149 </table>
150 </dd>
151 </dl><br><b>Enumerations</b><dl>
152 <dd>
153 <table border="1" width="90%" style="border-collapse: collapse">
154 <tr valign="top">
155 <th bgcolor="#C0C0C0">Enumeration</th>
156 <th bgcolor="#C0C0C0">
157 Description
158 </th>
159 </tr>
160 <tr valign="top">
161 <td width="30%"><a href="types/PolicyStatementAttribute.html">enumeration PolicyStatementAttribute</a></td>
162 <td width="60%"> Defines special attribute flags for security policy on code groups. 
163 </td>
164 </tr>
165 </table>
166 </dd>
167 </dl><br><b>Namepace hierarchy</b><br><ul class="none">
168 <li><a href="../System/types/Object.html">System.Object</a></li>
169 <ul class="none">
170 <li><a href="../System/types/Exception.html">System.Exception</a></li>
171 <ul class="none">
172 <li><a href="../System/types/SystemException.html">System.SystemException</a></li>
173 <ul class="none">
174 <li><a href="../System.Security.Policy/types/PolicyException.html">System.Security.Policy.PolicyException</a></li>
175 </ul>
176 </ul>
177 </ul>
178 <ul class="none">
179 <li><a href="../System.Security.Policy/types/AllMembershipCondition.html">System.Security.Policy.AllMembershipCondition</a> --- <a href="../System.Security.Policy/types/IMembershipCondition.html">System.Security.Policy.IMembershipCondition</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
180 </ul>
181 <ul class="none">
182 <li><a href="../System.Security.Policy/types/ApplicationDirectory.html">System.Security.Policy.ApplicationDirectory</a></li>
183 </ul>
184 <ul class="none">
185 <li><a href="../System.Security.Policy/types/ApplicationDirectoryMembershipCondition.html">System.Security.Policy.ApplicationDirectoryMembershipCondition</a> --- <a href="../System.Security.Policy/types/IMembershipCondition.html">System.Security.Policy.IMembershipCondition</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
186 </ul>
187 <ul class="none">
188 <li><a href="../System.Security.Policy/types/CodeGroup.html">System.Security.Policy.CodeGroup</a></li>
189 <ul class="none">
190 <li><a href="../System.Security.Policy/types/FileCodeGroup.html">System.Security.Policy.FileCodeGroup</a></li>
191 </ul>
192 <ul class="none">
193 <li><a href="../System.Security.Policy/types/FirstMatchCodeGroup.html">System.Security.Policy.FirstMatchCodeGroup</a></li>
194 </ul>
195 <ul class="none">
196 <li><a href="../System.Security.Policy/types/NetCodeGroup.html">System.Security.Policy.NetCodeGroup</a></li>
197 </ul>
198 <ul class="none">
199 <li><a href="../System.Security.Policy/types/UnionCodeGroup.html">System.Security.Policy.UnionCodeGroup</a></li>
200 </ul>
201 </ul>
202 <ul class="none">
203 <li><a href="../System.Security.Policy/types/Evidence.html">System.Security.Policy.Evidence</a> --- <a href="../System.Collections/types/ICollection.html">System.Collections.ICollection</a>, <a href="../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable</a></li>
204 </ul>
205 <ul class="none">
206 <li><a href="../System.Security.Policy/types/PermissionRequestEvidence.html">System.Security.Policy.PermissionRequestEvidence</a></li>
207 </ul>
208 <ul class="none">
209 <li><a href="../System.Security.Policy/types/PolicyLevel.html">System.Security.Policy.PolicyLevel</a></li>
210 </ul>
211 <ul class="none">
212 <li><a href="../System.Security.Policy/types/PolicyStatement.html">System.Security.Policy.PolicyStatement</a> --- <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
213 </ul>
214 <ul class="none">
215 <li><a href="../System.Security.Policy/types/Site.html">System.Security.Policy.Site</a> --- <a href="../System.Security.Policy/types/IIdentityPermissionFactory.html">System.Security.Policy.IIdentityPermissionFactory</a></li>
216 </ul>
217 <ul class="none">
218 <li><a href="../System.Security.Policy/types/SiteMembershipCondition.html">System.Security.Policy.SiteMembershipCondition</a> --- <a href="../System.Security.Policy/types/IMembershipCondition.html">System.Security.Policy.IMembershipCondition</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
219 </ul>
220 <ul class="none">
221 <li><a href="../System.Security.Policy/types/StrongName.html">System.Security.Policy.StrongName</a> --- <a href="../System.Security.Policy/types/IIdentityPermissionFactory.html">System.Security.Policy.IIdentityPermissionFactory</a></li>
222 </ul>
223 <ul class="none">
224 <li><a href="../System.Security.Policy/types/StrongNameMembershipCondition.html">System.Security.Policy.StrongNameMembershipCondition</a> --- <a href="../System.Security.Policy/types/IMembershipCondition.html">System.Security.Policy.IMembershipCondition</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
225 </ul>
226 <ul class="none">
227 <li><a href="../System.Security.Policy/types/Url.html">System.Security.Policy.Url</a> --- <a href="../System.Security.Policy/types/IIdentityPermissionFactory.html">System.Security.Policy.IIdentityPermissionFactory</a></li>
228 </ul>
229 <ul class="none">
230 <li><a href="../System.Security.Policy/types/UrlMembershipCondition.html">System.Security.Policy.UrlMembershipCondition</a> --- <a href="../System.Security.Policy/types/IMembershipCondition.html">System.Security.Policy.IMembershipCondition</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
231 </ul>
232 <ul class="none">
233 <li><a href="../System.Security.Policy/types/Zone.html">System.Security.Policy.Zone</a> --- <a href="../System.Security.Policy/types/IIdentityPermissionFactory.html">System.Security.Policy.IIdentityPermissionFactory</a></li>
234 </ul>
235 <ul class="none">
236 <li><a href="../System.Security.Policy/types/ZoneMembershipCondition.html">System.Security.Policy.ZoneMembershipCondition</a> --- <a href="../System.Security.Policy/types/IMembershipCondition.html">System.Security.Policy.IMembershipCondition</a>, <a href="../System.Security/types/ISecurityEncodable.html">System.Security.ISecurityEncodable</a>, <a href="../System.Security/types/ISecurityPolicyEncodable.html">System.Security.ISecurityPolicyEncodable</a></li>
237 </ul>
238 <ul class="none">
239 <li><a href="../System/types/ValueType.html">System.ValueType</a></li>
240 <ul class="none">
241 <li><a href="../System/types/Enum.html">System.Enum</a></li>
242 <ul class="none">
243 <li><a href="../System.Security.Policy/types/PolicyStatementAttribute.html">System.Security.Policy.PolicyStatementAttribute</a></li>
244 </ul>
245 </ul>
246 </ul>
247 </ul><br><i><a href="../documentation_license.txt">
248 Copyright (c) 2002 Microsoft Corporation. All rights reserved.
249 </a></i></body>
250 </html>